package com.nanhai.buddhist.college.module.collegebase.api.collegeclass.vo;

import com.nanhai.buddhist.college.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import javax.validation.constraints.NotNull;
import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author AKai
 * @date 2022/8/30
 */
@Data
public class ClassesInfoDTOPageVO extends PageParam {
    @NotNull(message = "教师id不能为空")
    private String teacherId;

    @ApiModelProperty("班级昵称")
    private String classesName;

    @ApiModelProperty("班级编号")
    private String classesNumber;

    @ApiModelProperty("班级代码")
    private String classesCode;

    @ApiModelProperty("开班时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] openingTime;

    @ApiModelProperty(value = "查询结束时间")
    private String openingEndTime;

    @ApiModelProperty(value = "查询开始时间")
    private String openingStartTime;

    @ApiModelProperty(value = "查询结束时间",hidden = true)
    private Date openingEndTimeDate;

    @ApiModelProperty(value = "查询开始时间",hidden = true)
    private Date openingStartTimeDate;

    @ApiModelProperty("学院id")
    private String collegeId;

    @ApiModelProperty("系部ID")
    private String departmentId;
}
